import QtQuick 2.0

Page1Form {

    // action for Get
    buttonGet.onClicked: {
        // get value from c++
        var a = myPage1Class.getValue();
        label.text = a;
        console.log("get value : " + a);
    }

    // more action for buttonSet
    buttonSet {

        //click
        onClicked: {
            // get value from c++
            var a = textField.text;
            myPage1Class.setValue(a);
            console.log("set value : " + a);
        }

    }

}
